<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户角色管理</title>
<link href="templates/admin/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
  {{webcontrol type="menu" name="mymenu"}}
<div>
	<div class="list">
		<div class="title_list_note">权限列表</div>
{{foreach from=$role item=listitem}}
<div class="info">
			<ul>
			<li class="list_note">
			<div class="title_note" style="width:60px;">&nbsp;{{$listitem.role_id}}</div>
			<div class="title_note" style="width:120px;">&nbsp;{{$listitem.rolename}}</div>
			<div class="title_note" style="width:60px;">&nbsp;<a href="?controller=role&action=delrole&role_id={{$listitem.role_id}}">删除</a></div>
		</li>
</ul>
</div>
{{/foreach}}
</div>
<form action="{{url controller=role action=addrole}}" method="post">
<div class="update_record" style="padding-left:10px; width:200px;">
	<p>角色：<input type="text" name="name" value="" /></p>
	<input type="submit" onfocus="this.blur()" tabindex="2" id="editorFormBtn" class="subbutton" value="提交"/>
	<input type="reset" onfocus="this.blur()" tabindex="2" id="editorFormBtn" class="subbutton" value="取消"/>
	</p>
</div>
</div>
</form>
</body>
</html>
